﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QLNhaThuoc.MyClass
{
    class SearchStringStrategy:SearchStrategy
    {
        public override string GetSearchExpression()
        {
            string expr = Field + " like '%" + Value + "%'";
            return expr;
        }

        protected override string GetSearchExpression(ISearchVisitor visitor)
        {
            return "";
        }
    }
}
